package com.woniu.order.mapper;

import com.woniu.order.pojo.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 25429
* @description 针对表【zsb_order_application】的数据库操作Mapper
* @createDate 2024-11-24 18:22:53
* @Entity com.woniu.order.pojo.ZsbOrderApplication
*/
public interface ZsbOrderApplicationMapper extends BaseMapper<ZsbOrderApplication> {
    List<Customer> queryAllCustomer();

    void addOrderApplicationProduct(ZsbOrderApplicationProduct zsbOrderApplicationProduct);

    List<ZsbOrderApplicationProduct> queryByCode(String code);

    void addOrderApplication(ZsbOrderApplication zsbOrderApplication);
    List<ZsbOrderApplication> queryAllYiShenPi(ZsbOrderApplication zsbOrderApplication);
    List<ZsbOrderApplication> queryAllWeiShenPi(ZsbOrderApplication zsbOrderApplicatio);

    Customer queryCustomeByCode(String code);

    void updateApplicationStatus(ZsbOrderApplication zsbOrderApplicatio);
    List<ZsbOrderApplication> querySaleWeiShenPi(ZsbOrderApplication zsbOrderApplicatio);
    List<ZsbOrderApplication> querySaleTongGuo(ZsbOrderApplication zsbOrderApplicatio);
    List<ZsbOrderApplication> querySaleRefuse(ZsbOrderApplication zsbOrderApplicatio);
    List<ZsbOrderApplication> queryZJWeiShenPi(ZsbOrderApplication zsbOrderApplicatio);
    List<ZsbOrderApplication> queryZJYiShenPi(ZsbOrderApplication zsbOrderApplicatio);
    void addOrderDetail(ZcxOrderDetails zcxOrderDetails);
    ZsbOrderApplication queryByOrderApplicationCode(String code);

    void addOrder(ZcxCustomerOrder zcxCustomerOrder);


}




